/**
 * 
 */
package edu.gatech.cs2340.group7.wheresmystuffapp.model;


/**
 * Represents a Lost Item reported by a user
 * @author tbowling3
 *
 */
public class LostItem extends Item{
	private int reward;
	private CustomDate dateLost;

	public LostItem(String user, String category, String name, String description, ItemLocation il, int reward, CustomDate dateLost, byte[] pictureId) {
		super(user, category, name, description, il, pictureId);
		this.setReward(reward);
		this.dateLost = dateLost;
	}

	/**
	 * @return the reward
	 */
	public int getReward() {
		return reward;
	}

	/**
	 * @param reward the reward to set
	 */
	public void setReward(int reward) {
		this.reward = reward;
	}

	/**
	 * @return the dateLost
	 */
	public CustomDate getDateLost() {
		return dateLost;
	}

	/**
	 * @param dateLost the dateLost to set
	 */
	public void setDateLost(CustomDate dateLost) {
		this.dateLost = dateLost;
	}
	
	/**
	 * @return true because this is a lost item
	 */
	@Override
	public boolean isLostItem(){
		return true;
	}

	

}
